/* @update: 2015-2-3 23:39:39 */
var _imgUrl = window.location.origin + window.location.pathname;
_imgUrl = _imgUrl.replace(/[a-z0-9]+\.html/, ""), _imgUrl += "images/share.png";
var wxData = {
	appId: "",
	imgUrl: _imgUrl,
	link: function() {
		var i = getCookie("userPhone");
		return i ? window.location.origin + window.location.pathname + "?mobile=" + i : window.location.origin + window.location.pathname
	},
	desc: function() {
		return this.descInfo
	},
	descInfo: "\u9001\u4f60\u7ea2\u5305\u5e26\u4f60\u98de\uff0c\u70ae\u6253\u5c0f\u65e5\u672c\uff0c\u4e07\u5143\u7ea2\u5305\u7b49\u4f60\u62a2\uff01",
	title: "\u4e0a\u5171\u5bcc\u7f51\u4e00\u8d77\u70ae\u6253\u5c0f\u65e5\u672c"
};
!
function() {
	var i = function() {
			WeixinJSBridge.on("menu:share:appmessage", function() {
				WeixinJSBridge.invoke("sendAppMessage", {
					appid: wxData.appId,
					img_url: wxData.imgUrl,
					img_width: "240",
					img_height: "240",
					link: wxData.link(),
					desc: wxData.desc(),
					title: wxData.title
				}, function() {})
			}), WeixinJSBridge.on("menu:share:timeline", function() {
				WeixinJSBridge.invoke("shareTimeline", {
					img_url: wxData.imgUrl,
					img_width: "240",
					img_height: "240",
					link: wxData.link(),
					desc: wxData.desc(),
					title: wxData.desc()
				}, function() {})
			})
		};
	document.addEventListener ? document.addEventListener("WeixinJSBridgeReady", i, !1) : document.attachEvent && (document.attachEvent("WeixinJSBridgeReady", i), document.attachEvent("onWeixinJSBridgeReady", i))
}();